package entity;

import java.io.Serializable;

/**
 * Borrow
 *
 * @author lenovo
 * @since 2023/8/25
 */
public class Borrow_books implements Serializable {
    private static final long serialVersionUID = 42L;

    //id
    private int id;

    //身份Id
    private int card_id;

    //书籍Id
    private int book_id;

    //借书日期
    private String borrow_date;

    //借书到期时间
    private String end_date;

    //归还时间
    private String return_date;

    //是否逾期
    private String illegal;

    //管理员Id
    private String manager_id;

    public Borrow_books() {
    }

    public Borrow_books(int id, int card_id, int book_id, String borrow_date, String end_date, String return_date, String illegal, String manager_id) {
        this.id = id;
        this.card_id = card_id;
        this.book_id = book_id;
        this.borrow_date = borrow_date;
        this.end_date = end_date;
        this.return_date = return_date;
        this.illegal = illegal;
        this.manager_id = manager_id;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getCard_id() {
        return card_id;
    }

    public void setCard_id(int card_id) {
        this.card_id = card_id;
    }

    public int getBook_id() {
        return book_id;
    }

    public void setBook_id(int book_id) {
        this.book_id = book_id;
    }

    public String getBorrow_date() {
        return borrow_date;
    }

    public void setBorrow_date(String borrow_date) {
        this.borrow_date = borrow_date;
    }

    public String getEnd_date() {
        return end_date;
    }

    public void setEnd_date(String end_date) {
        this.end_date = end_date;
    }

    public String getReturn_date() {
        return return_date;
    }

    public void setReturn_date(String return_date) {
        this.return_date = return_date;
    }

    public String getIllegal() {
        return illegal;
    }

    public void setIllegal(String illegal) {
        this.illegal = illegal;
    }

    public String getManager_id() {
        return manager_id;
    }

    public void setManager_id(String manager_id) {
        this.manager_id = manager_id;
    }
}
